package com.system.FinancialDepartment.service;

import java.util.Date;
import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.system.FinancialDepartment.entity.RewardAndPunishiment;

public interface IRewardAndPunishimentService {

	public void saveOrUpdate(RewardAndPunishiment rewardAndPunishiment);
	public void delete(RewardAndPunishiment rewardAndPunishiment);
	public RewardAndPunishiment findOne(Long id);
	public List<RewardAndPunishiment> findAll();
	
	//自定义查询，传参
   	public int saveOrUpdate(Long id,Long empId,String event,Date time,Long score);
	public int deleteRewardAndPunishiments(Long[] ids);
	public Page<RewardAndPunishiment> findAll(Long empId, Pageable pageable);
	
	public List<RewardAndPunishiment> findAllById(Long empId);
	
}
